Retention

annotation class Retention(value: AnnotationRetention)

This meta-annotation determines whether an annotation is stored in binary output and visible for reflection. By default, both are true.

Constructors

Retention
Link copied to clipboard
fun Retention(value: AnnotationRetention = AnnotationRetention.RUNTIME)

Properties

value
Link copied to clipboard
val value: AnnotationRetention

necessary annotation retention (RUNTIME, BINARY or SOURCE)